<?php
/**
 * 
 * ClientEngage: ClientEngage Visitor Voice (http://www.clientengage.com)
 * Copyright 2012, ClientEngage (http://www.clientengage.com)
 *
 * You must have purchased a valid license from CodeCanyon in order to have 
 * the permission to use this file.
 * 
 * You may only use this file according to the respective licensing terms 
 * you agreed to when purchasing this item on CodeCanyon.
 * 
 * 
 * 
 *
 * @author          ClientEngage <contact@clientengage.com>
 * @copyright       Copyright 2013, ClientEngage (http://www.clientengage.com)
 * @link            http://www.clientengage.com ClientEngage
 * @since           ClientEngage - Visitor Voice v 1.0
 * 
 */
?>
<table class="table table-condensed table-striped">
    <tbody>
        <tr>
            <th class="text_frequencies-header"><?php echo __('Option'); ?></th>
            <th><?php echo __('Responses (%)'); ?></th>
        </tr>
        <?php foreach ($stats as $l => $v): ?>
            <tr>
                <th><?php echo $l; ?>: </th>
                <td><?php echo $v . ' (' . ( round(($v / $count) * 100, 1)) . '%)'; ?></td>
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>